Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /* eslint func-names: 0 */ |
||
11 | describe('General', () => { |
||
12 | const projectRoot = path.resolve(__dirname, '..', '..'); |
||
13 | |||
14 | before(() => { |
||
15 | shell.cd(projectRoot); |
||
16 | }); |
||
17 | |||
18 | describe('build (requires project clean for valid testing)', function () { |
||
19 | this.timeout(30000); |
||
20 | |||
21 | it('should create a build directory at the project root', () => { |
||
22 | shell.exec('npm run build --silent', { |
||
23 | silent: true, |
||
24 | }); |
||
25 | |||
26 | expect(path.join(projectRoot, 'build')).to.be.a.directory(); |
||
27 | }); |
||
28 | }); |
||
29 | }); |
||
30 |